


#include "page_manager.h"
#include <string.h>

#include <stdio.h>






static PageActionp g_PageActionp =NULL;


void Regsiterpage(PageActionp Pageactionp)
{

	Pageactionp->ptNEXT = g_PageActionp;

	g_PageActionp = Pageactionp;




}

PageActionp selectdefaulterPage(char * name)
{
	PageActionp ptmp = g_PageActionp;

	while(ptmp)
	{
		
		if(strcmp(ptmp->name, name)==0)
		{
			
			return ptmp;
		}
		ptmp = ptmp->ptNEXT;
	}


	
	return NULL;

}




int AllPageInit(void )
{
	extern void MainPageRegister(void);
	
	MainPageRegister();

	return 0;


}
































